package com.example.shardingjdbc.entity;


import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author Daniel
 * @Description 用户实体
 * @Date 2019/1/17 13:44
 **/
@Table(name = "t_user")
@Data
public class User {
    @Id
    //用户编号
    private Long userId;
    //用户名称
    private String userName;
}
